package com.cskaoyan.mapper;

import com.cskaoyan.bean.BrandInfo;
import com.cskaoyan.bean.BrandInfoExample;
import com.cskaoyan.bo.BrandInfoBO;
import com.cskaoyan.vo.CreateBandVO;
import com.cskaoyan.vo.UpdateBrandVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandInfoMapper {
    long countByExample(BrandInfoExample example);

    int deleteByExample(BrandInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BrandInfo record);

    int insertSelective(BrandInfo record);

    List<BrandInfo> selectByExample(BrandInfoExample example);

    BrandInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BrandInfo record, @Param("example") BrandInfoExample example);

    int updateByExample(@Param("record") BrandInfo record, @Param("example") BrandInfoExample example);

    int updateByPrimaryKeySelective(BrandInfo record);

    int updateByPrimaryKey(BrandInfo record);

    List<BrandInfo> getBrandInfo(@Param("brandInfoBO") BrandInfoBO brandInfoBO);

    Integer getTotal(@Param("brandInfoBO") BrandInfoBO brandInfoBO);

    Integer insertCreateInfo(BrandInfo brandInfo);

    CreateBandVO selectCreateInfo(Integer id);

    void updateBrandInfo(@Param("brandInfo") BrandInfo brandInfo);

    UpdateBrandVO selectUpdateInfo(Integer id);
    void deleteBrand(Integer id);
}